package com.feri.fss.service.intf;

import com.feri.fss.common.vo.PageBean;
import com.feri.fss.common.vo.R;
import com.feri.fss.entity.Admin;

import javax.servlet.http.HttpSession;

/**
 * @author Feri
 * @date 2021/12/16 10:00
 * @description:TODO
 */
public interface AdminService {
    /**
     * 登录*/
    R login(String name, String password, HttpSession session);
    //新增
    R save(Admin admin);

    //查询-分页-PageHelper
    PageBean queryPage(int page,int limit);

    R delById(int id);

    R update(Admin admin);

}
